/* 声明字体图标 */
@font-face {
    font-family: 'icomoon';
    /* 这里一定要注意路径的变化 */
    src: url('../fonts/icomoon.eot?yxqnkp');
    src: url('../fonts/icomoon.eot?yxqnkp#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?yxqnkp') format('truetype'),
        url('../fonts/icomoon.woff?tomleg') format('woff'),
        url('../fonts/icomoon.svg?yxqnkp#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}

ul li {
    list-style: none;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

.style_red {
    color: #c81623;
}

/* 快捷导航模块 */
.shortcut {
    height: 31px;
    line-height: 31px;
    background-color: #f1f1f1;
}

.shortcut ul li {
    float: left;
}

/* 选择所有偶数的小li */
.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 13px;
    margin: 9px 15px 0;
    background-color: black;
}

.arrow-icon::after {
    content: '\e9ac';
    font-family: 'icomoon';
    margin-left: 6px;
}

/* header头部  */
.header {
    position: relative;
    height: 105px;
}

.logo {
    position: absolute;
    top: 27px;
    width: 179px;
    height: 55px;
}

.logo a {
    display: block;
    width: 179px;
    height: 55px;
    background: url(../images/logo.png) no-repeat;
    /* font-size: 0; */
    /* 京东做法 */
    text-indent: -99999px;
    overflow: hidden;
    /* 淘宝做法 */
}

.search {
    position: absolute;
    top: 27px;
    left: 348px;
    width: 538px;
    height: 35px;
    border: 2px solid #b1191a;
}

.search input {
    float: left;
    width: 454px;
    height: 31px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    color: #fff;
    font-size: 16px;
}

.hotwords {
    position: absolute;
    top: 69px;
    left: 348px;

}

.hotwords a {
    margin: 0 10px;
}

.shopcar {
    position: absolute;
    right: 63px;
    top: 27px;
    width: 139px;
    height: 34px;
    border: 2px solid #dfdfdf;
    background-color: #f7f7f7;
    line-height: 34px;
    text-align: center;
}

.shopcar::before {
    content: '\e9ab';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #b1191a;
}

.shopcar::after {
    content: '\e9ac';
    font-family: 'icomoon';
    margin-left: 12px;
}

.shopcar .count {
    position: absolute;
    top: -5px;
    left: 93px;
    height: 14px;
    line-height: 14px;
    color: #fff;
    border-radius: 7px 7px 7px 0;
    background-color: #e60012;
    padding: 0 5px;
}

nav {
    height: 45px;
    border-bottom: 2px solid #b1191a;
}

nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}

nav .dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 45px;
}

nav .navitems ul li {
    float: left;
}

nav .navitems a {
    display: block;
    height: 45px;
    font-size: 16px;
    line-height: 45px;
    padding: 0 25px;
}

nav .dropdown .dd {
    /* display: none; */
    width: 210px;
    height: 465px;
    background-color: #c81623;
    /* margin-top: 2px; */
    /* 让dd贴着细线下沿但是我这个显示器显示出白线所以就不做了 */
}

nav .dropdown .dd ul li {
    position: relative;
    height: 31px;
    margin-left: 2px;
    padding-left: 10px;
}

nav .dropdown .dd ul li::after {
    position: absolute;
    right: 7px;
    top: 5px;
    content: '\e9ac';
    color: #fff;
    font-family: 'icomoon';
}

nav .dropdown .dd ul li a {
    line-height: 31px;
    font-size: 14px;
    color: #fff;
}

nav .dropdown .dd ul li:hover {
    background-color: #fff;
}

nav .dropdown .dd ul li:hover a {
    color: #c81623;
}

/* 底部模块制作 */
.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}

.footer .mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}

.footer .mod_service ul li {
    float: left;
    width: 240px;
    height: 50px;
    padding-left: 35px;
}

.footer .mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -252px -3px;
    margin-right: 8px;
}

.service_text h4 {
    font-size: 14px;
}

.footer .mod_service ul li .p2 {
    background: url(../images/icons.png) no-repeat -254px -54px;
}

.footer .mod_service ul li .p3 {
    background: url(../images/icons.png) no-repeat -256px -106px;
}

.footer .mod_service ul li .p4 {
    background: url(../images/icons.png) no-repeat -257px -157px;
}

.footer .mod_service ul li .p5 {
    background: url(../images/icons.png) no-repeat -257px -209px;
}

.footer .mod_help {
    height: 185px;
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    padding-left: 50px;
}

.mod_help dl dt {
    font-size: 16px;
    margin-bottom: 10px;
}

.mod_help dl {
    float: left;
    width: 200px;
}

.mod_help dl:last-child {
    text-align: center;
    width: 90px;
}

.mod_copyright {
    padding-top: 20px;
    text-align: center;
}

.mod_copyright .links {
    margin-bottom: 15px;
}

.mod_copyright .copyright {
    line-height: 20px;
}

.mod_copyright .links a {
    display: inline-block;
    margin: 0 14px;
    color: #666;
}